<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<link rel="stylesheet" type="text/css" href="__CSS__/boxinfo.css">
	</head>
	<body>
		<div>
			<!-- 顶部 -->
				<div class="top">
					<img src="__IMG__/tx.jpg" />
					<span class="top-1">论坛后台管理</span>
					<span class="top-2">欢迎您：{:session('uName')}</span>
				</div>
			<!-- 导航栏 -->
				<div class="navbar">
					<ul>
						<li><a href="{:url('deal/mesdeal')}">帖子管理</a></li>
						<li><a href="{:url('deal/userdeal')}">用户管理</a></li>
						<li><a href="{:url('deal/secdeal')}">版块管理</a></li>
						<li><a href="{:url('deal/bindeal')}">回收站管理</a></li>
						<li><a href="{:url('advdeal/advdeal')}">广告管理</a></li>
						<li><a href="{:url('advdeal/boxdeal')}">轮播图管理</a></li>
						<li><a href="{:url('admin/apa')}">修改密码</a></li>
						<li><a href="{:url('admin/alogout')}">注销</a></li>
						<li><a href="/mamx28/public/index.php/mamx_forum/Mamx">论坛前台</a></li>
					</ul>
				</div>
				<!-- 修改广告信息区域 -->
				<div class="advinfo">
					<form action="{:url('advdeal/boxinfomodi',['cid'=>input('cid')])}" method="post" enctype="multipart/form-data">
						<table>
							{volist name='box' id='boxRow'}
							<tr>
								<td class="infotitle">轮播图图片</td>
								<td class="modi">
									<div class="infomodi">
										<!-- 原图片 -->
										<div class="up">
											<span>原图片：</span>
											<img src="__UPLOAD__/{$boxRow.c_img}">
										</div>
										<!-- 修改图片 -->
										<input type="file" class="file" name="cimg">
										<span>图片尺寸建议：宽度为225px，高度为65px~75px</span>
									</div>
								</td>
							</tr>
							<tr>
								<td class="infotitle">轮播图标题</td>
								<td class="modi">
									<div class="infomodi">
										<span>原广告标题：{$boxRow.c_title}</span>
										<input name="ctitle" type="text" value="输入新的广告标题" class="in">
									</div>
								</td>
							</tr>
							<tr>
								<td class="infotitle">轮播图内容</td>
								<td class="modi">
									<div class="infomodi">
										<span>原内容：{$boxRow.c_content}</span>
										<textarea name="ccontent"></textarea>
										<span>最多255个字符</span>
									</div>
								</td>
							</tr>
							<tr>
								<td class="infotitle">轮播图指向内部帖子的mid</td>
								<td class="modi">
									<div class="infomodi">
										<span>原地址：{$boxRow.c_mid}</span>
										<input name="cmid" type="text" class="in">
									</div>
								</td>
							</tr>
							<tr>
								<td colspan="2">
									<button type="submit" class="return">修 改</button>
								</td>
							</tr>
							{/volist}
						</table>
					</form>
				</div>
			</div>
	</body>
</html>
